﻿require.config({
    baseUrl: '/Scripts/app/angular/',
    paths: {
        Console: '../../libs/console/console',
        jQuery: '../../libs/jquery-1.9.1',
        Bootstrap: '../../libs/bootstrap/bootstrap',
        Underscore: '../../libs/underscore/underscore',
        Angular: '../../libs/angular/angular',
        AngularResource: '../../libs/angular/angular-resource',
        text: '../../libs/requirejs/text',
        domReady: '../../libs/requirejs/domReady',
        jqresize: '../../libs/resize/jquery.ba-resize.js'
    },
    shim: {
        'Console': { exports: 'debug' },
        'Angular': { exports: 'Angular' },
        'AngularResource': { deps: ['Angular'] },
        'Bootstrap': { deps: ['jQuery'] },
        'Underscore': { exports: '_' }
    },
    priority: [
      "Angular"
    ],
    urlArgs: 'v=1.1'
});

require(['domReady', 'app'], function (domReady, App) {
    domReady(App.initialize);
});
